package com.object.module.cbb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.object.configuration.utils.PageUtils;
import com.object.configuration.utils.Q;
import com.object.module.cbb.entity.CddShopEntity;

import java.util.Map;

/**
 * 商品
 *
 * @author 小🌤
 * @email 1578442339@qq.com
 * @date 2021-12-29 21:06:27
 */
public interface CddShopService extends IService<CddShopEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void updateSales(Long spId, Integer seckillSales);

    Q popularRecommendation();

    Q newArrival();

    Q popularProduct();

    CddShopEntity getByIdInfo(Integer spId);

    void saveShop(CddShopEntity cddShop);
}

